cbuffer cbPerObject : register(b0)
{
    matrix gWorldViewProj;
};

struct VertexIn
{
    float4 PosL : POSITION;
    float4 Color : COLOR;
};

struct VertexOut
{
    float4 PosH : SV_POSITION;
    float4 Color : COLOR;
};


VertexOut main(VertexIn vin)
{
    VertexOut vout;
    vout.PosH = mul(vin.PosL, gWorldViewProj);
    vout.Color = vin.Color;

    return vout;
}





